package cn.tedu.spring.eg3;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author 董代恒
 * @version 1.0
 */
public class ShopControllerTest {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext("cn.tedu.spring.eg3");
        context.getBean(ShopController.class);
        System.out.println("4.使用");
        context.close();
    }
}
